package com.hzit.payweb.config;

import lombok.Data;
import org.springframework.context.annotation.Configuration;

/**
 * 配置中心读取配置
 */
@Configuration
@Data
public class PayWebConfig {

    /**
     * 支付宝回调通知
     */
    private String alipayNotifyUrl = "http://payweb.free.idcfengye.com/payNotify/receive";

    /**
     * 支付宝的公钥
     */
    private String alipayPubKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnzJnbTT7sBQJTZvp3gGztei1V2eONrrbhxuPHojkAFTQzGE7nsWL2/TvVbOJihCq8JQtU9gSXBedNePetNLz4R7eMcZztTV9M9kxxwB5TKxjbI3l9DFDj3Q9sOUq8F1Afy8XiBfYdqvv+Haz4AWDdo6EljvXY6amrXbyBralIyXC/7exOqLs17/gx4DInfdf8ophOFbRSYbQCcRbDyxPdqT7mUY9ozfmoWaj/acjbH2gGGY26ptF9bDtkrPYLPgeIUNqYU1LsWgqqDxhL5eDYIGGvPMr5aFq9s29BjEAWdoDDAnUt8R0azhc1A6I1ONVspQToxPAMMVaYAirb1EXrQIDAQAB";

    /**
     * 签名类型
     */
    private String alipaySignType = "RSA2";


    private String alipaySellerId = "xydskv8413@sandbox.com";

    private String alipayAppId = "2016101200667654";

    /**
     * 订单系统接收支付回调的url
     */
    private String orderNotifyUrl = "http://127.0.0.1:8010/notify/payReceive";


}
